package view;

import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JPanel;

public class View extends JPanel implements ActionListener
{
	private static final long serialVersionUID = 2118299654730994785L;

	public View()
	{
		this.setBackground(Color.LIGHT_GRAY);
	}
	
	public void paintComponent(Graphics g)
	{
		super.paintComponent(g);
		Graphics2D g2 = (Graphics2D)g;
		
		g2.setPaint(Color.RED);
	}

	@Override
	public void actionPerformed(ActionEvent arg0)
	{
		repaint();
	}
}
